import { createApp } from 'vue'
import App from './App.vue'
import vant from 'vant';
import 'vant/lib/index.css';
import ecenter from '../lib/node_modules/ecenter-core/dist/ecenter-core.es';
import ecenterMUI from '../lib/node_modules/ecenter-mui/dist/ecenter-mui.es';
import '../lib/node_modules/ecenter-mui/dist/style.css';
import router from './router';
import './assets/index.less';
import 'virtual:svg-icons-register';

const app = createApp(App);
app.use(ecenter, import.meta.env);
app.use(ecenterMUI);
app.config.globalProperties.$ecenterMUI = ecenterMUI;
app.use(router);

app.mount('#app');
